const { DataTypes } = require('sequelize');
var {sequelize} = require('../sequelize.js');

const comment = sequelize.define('comment', {
   
    commentator: { // 评论人
        type: DataTypes.STRING,
        allowNull: false,
    },
    create_time:{
        type: DataTypes.DATE,
        allowNull: false,
    }
}, {
    // Other model options go here
});
module.exports = comment
